Current Location: Home> Function Categories> is_infinite

is_infinite

Determine whether it is infinite
Name:is_infinite
Category:math
Programming Language:php
One-line Description:Determine whether it is an infinite value.

Definition and usage

is_infinite() determines whether it is an infinite value.

Example

 <?php
echo is_infinite ( 2 ) ;
echo is_infinite ( log ( 0 ) ) ;
echo is_infinite ( 2000 ) ;
?>

Try it yourself

grammar

 is_infinite ( x )
parameter describe
x Required. Specify the value to be checked.

illustrate

Return true if x is infinite (positive or negative), such as the result of log(0) or any value that exceeds the range of floating point numbers on this platform.

Similar Functions
  • Hyperbolic sine sinh

    sinh

    Hyperbolicsine
  • Tilt tan

    tan

    Tilt
  • Leave the method of sorting floor

    floor

    Leavethemethodofsort
  • Hyperbolic tangent tanh

    tanh

    Hyperbolictangent
  • Cosine cos

    cos

    Cosine
  • Get the pi value pi

    pi

    Getthepivalue
  • Returns log(1 + number), and can calculate the exact result even when the value of number is close to zero. log1p

    log1p

    Returnslog(1+number)
  • Absolute value abs

    abs

    Absolutevalue
Popular Articles